package com.ibiz.template.service;

import com.ibiz.template.domain.PERSON;
import com.ibiz.template.service.dto.PERSONSearchFilter;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;

/**
 * 实体[PERSON] 服务对象接口
 */
public interface PERSONService extends IService<PERSON>{

	boolean checkKey(PERSON et);
		PERSON get(PERSON et);
	boolean remove(PERSON et);
	boolean getDraft(PERSON et);
	boolean update(PERSON et);
	boolean create(PERSON et);
    List<PERSON> listDefault(PERSONSearchFilter filter) ;
	Page<PERSON> searchDefault(PERSONSearchFilter filter);
	/**	 实体[PERSON] 自定义数据查询  	**/
	List<Map<String,Object>> selectRow(String sql);
 }